var vals = this.getItem('frmOper').getValues();
if (Ext.isEmpty(vals.supName)) {
    return;
}

var me = this;
vals["status"] = 'N';

Ext.Msg.show({
    title: T.label.question,
    msg: T.msg.are_you_sure_to_save_data,
    icon: Ext.Msg.QUESTION,
    buttons: Ext.Msg.YESNO,
    fn: function(btnId) {
        if ('yes' == btnId) {
            button.disable();

            YX.ZbusRpc.request({
                module: 'SbasSaveSupplierRosterService',
                params: vals,
                showSuccess: true,
                callback: function() {
                    button.enable();
                },
                success: function(rsp) {
                    me.loadSupplierStore();
                    me.getItem('frmOper').getForm().reset();
                }
            });
        }
    }
});